/*
 * @Date: 2020-08-06 14:04:23
 * @LastEditors: xujianxing
 * @LastEditTime: 2020-08-06 16:40:13
 * @FilePath: \my-nextjs\src\redux\actions.ts
 */
import { types } from "./types";
import { clearAuth } from "@/utils/catch";

// User Action
export const receiveUserInfoAction = (payload): IAction => ({
  type: types.RECEIVE_USER_INFO,
  payload,
});

export const initialUserInfoAction = (): IAction => ({
  type: types.INITIAL_USER_INFO,
});

export const FetchUserInfoAction = () => async (dispatch) => {};
